package com.craftplay;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;

//@SpringBootApplication
//public class CraftplayApplication {
//    public static void main(String[] args) {
//        SpringApplication.run(CraftplayApplication.class, args);
//    }
//}

@SpringBootApplication
public class CraftplayApplication extends SpringBootServletInitializer {

	public static void main(String[] args) {
		SpringApplication.run(CraftplayApplication.class, args);

 	}
   @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(CraftplayApplication.class);
    }
}
